GUI Help > Create > createToolbar

createToolbar
handle gadget=createToolbar(handle parent)

Description:
Creates a toolbar gadget. Toolbars appear at the top of their parent windows and display small icons, usually 16x16 or 32x32 pixels in size, providing access to common tasks like loading or saving a document. Toolbar icons can either be loaded from file using addToolbarButton, or you can use a range of standard icons using addStandardToolbarButtons.

Return Value:
Handle to the new toolbar gadget.

Parameters:
parent Handle to the parent gadget of the new toolbar, or 0 for the main window.
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)